/*
 * Lol.h
 *
 *  Created on: 12 déc. 2013
 *      Author: Raphaël
 */

#ifndef VIEW_H_
#define VIEW_H_

#include <QtWidgets/qwidget.h>
#include <memory>
#include "uiTestSrc/ui/ui_untitled.h"

class QModelIndex;

class View: public QWidget
    {
Q_OBJECT
private:
    std::shared_ptr<Ui_Form> m_formPtr;

public:
    View(QWidget *parent = nullptr);
    virtual ~View();

    void setModel(QAbstractItemModel*);

signals:
    void signalCancel(bool);
    void signalOk(bool);
    };

#endif /* LOL_H_ */
